package com.yocard.yxyd.ui.contract;

import com.yocard.yxyd.base.BasePresenter;
import com.yocard.yxyd.base.BaseView;

/**
 * Created on 2019/4/1.
 */
public interface LoginContract {
    interface View extends BaseView {
        void getCodeSuccess();
        void loginSuccess();
    }

    interface Presenter extends BasePresenter<View> {
        void getCode(String phone);
        void loginUser(String mobile,String code, String longitude, String latitude, String device, String push_token);
    }
}
